import { defineConfig } from 'vite';

export default defineConfig({
  build: {
    lib: {
      entry: "src/main.tsx",
      // name: "xxx",
      formats: ['es'],
      fileName: 'index'
    },
    minify: true
  }
});